home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / Found / FWNotifn / Include / FWNotDef.h < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.3 KB  |  35 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWNotDef.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWNOTDEF_H
  11. #define FWNOTDEF_H
  12.  
  13. // FW_Message type describes the kind of notification sent by a Notifier to a Receiver
  14. // (defined here instead of "FWStdDef.h" because "FWNotDef.h" is included in .fr files)
  15. typedef     long    FW_Message; 
  16.  
  17. // ODF reserves negative values for its notification messages
  18.  
  19. // Values which can be used in your view resources
  20. const FW_Message    FW_kNullMsg                    = 0;
  21. const FW_Message    FW_kButtonPressedMsg        = -10;    // standard msg for buttons
  22. const FW_Message    FW_kDefaultButtonMsg        = -12;    // reserved for dialogs
  23. const FW_Message    FW_kCancelButtonMsg            = -13;    // reserved for dialogs
  24. const FW_Message    FW_kPopupClickedMsg            = -20;    // standard msg for popup menus
  25. const FW_Message    FW_kListBoxDoubleClickedMsg    = -30;    // standard msg for list-boxes
  26.  
  27. // Values which cannot be used directly in your view resources
  28. const FW_Message    FW_kScrollMsg                 = -100;    
  29. const FW_Message    FW_kRadioClusterMsg            = -101;
  30. const FW_Message    FW_kNotifierDeletedMsg        = -102;    
  31.  
  32. #endif        
  33.  
  34.  
  35.